﻿' LibWowHeroes
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowHeroes.XmlGuildSchema

    Public Class character

        Private strName As String
        Private intRaceID As Integer
        Private intGenderID As Integer
        Private intClassID As Integer
        Private intLevel As Integer
        Private strTalents As String
        Private intSpecID As Integer
        Private strSpecName As String
        Private intGuildRank As Integer
        Private intScore As Integer
        Private strDate As String
        Private strSuggest As String

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property raceId() As Integer
            Get
                Return intRaceID
            End Get
            Set(ByVal value As Integer)
                intRaceID = value
            End Set
        End Property

        <XmlAttribute()> Public Property genderId() As Integer
            Get
                Return intGenderID
            End Get
            Set(ByVal value As Integer)
                intGenderID = value
            End Set
        End Property

        <XmlAttribute()> Public Property classId() As Integer
            Get
                Return intClassID
            End Get
            Set(ByVal value As Integer)
                intClassID = value
            End Set
        End Property

        <XmlAttribute()> Public Property level() As Integer
            Get
                Return intLevel
            End Get
            Set(ByVal value As Integer)
                intLevel = value
            End Set
        End Property

        <XmlAttribute()> Public Property talents() As String
            Get
                Return strTalents
            End Get
            Set(ByVal value As String)
                strTalents = value
            End Set
        End Property

        <XmlAttribute()> Public Property specId() As Integer
            Get
                Return intSpecID
            End Get
            Set(ByVal value As Integer)
                intSpecID = value
            End Set
        End Property

        <XmlAttribute()> Public Property specName() As String
            Get
                Return strSpecName
            End Get
            Set(ByVal value As String)
                strSpecName = value
            End Set
        End Property

        <XmlAttribute()> Public Property guildRank() As Integer
            Get
                Return intGuildRank
            End Get
            Set(ByVal value As Integer)
                intGuildRank = value
            End Set
        End Property

        <XmlAttribute()> Public Property score() As Integer
            Get
                Return intScore
            End Get
            Set(ByVal value As Integer)
                intScore = value
            End Set
        End Property

        <XmlAttribute()> Public Property [date]() As String
            Get
                Return strDate
            End Get
            Set(ByVal value As String)
                strDate = value
            End Set
        End Property

        <XmlAttribute()> Public Property suggest() As String
            Get
                Return strSuggest
            End Get
            Set(ByVal value As String)
                strSuggest = value
            End Set
        End Property
    End Class

End Namespace